package com.teadent.service;

import com.teadent.bean.Person;
import com.teadent.dao.UserDao;
import com.teadent.dao.UserDaoImpl;

public class UserServiceImpl implements UserService{
    /*TeacherDao td=new TeacherDaoImpl();
    @Override
    public List<Person> getAllStudent() {
        return td.getAllStudent();
    }*/
    UserDao ud=new UserDaoImpl();


    @Override
    public Person getSelf(String userAccount) {
        return ud.getSelf(userAccount);
    }
}
